package com.crm.business.crm.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.crm.business.servlet.BaseService;
import com.crm.common.crm.entity.BO.BillCrmTrainingBO;
import com.crm.common.crm.entity.PO.BillCrmTraining;
import com.crm.common.ka.core.common.Result;

import java.util.Map;

public interface IBillCrmTrainingService extends BaseService<BillCrmTraining> {

    IPage<BillCrmTraining> queryPageList(BillCrmTrainingBO crmTrainingBO);

    Result<BillCrmTraining> queryById(Integer id);

    Result<Map<String, Object>> update(BillCrmTraining billCrmTraining);

    /**
     * 查询机构训练营模式开启状态
     * @return
     */
    public Result queryTrainingStatus();
}
